DTS Mass Processing in the Background

This chapter describes how mass processing works in the DTS activity tree.

After executing any mass processing step, a pop-up appears with the following parameters:

  • Number of jobs: Specifies how many jobs are scheduled in parallel. If executed multiple times, the entered number of jobs will be added to the already running jobs.

  • Application server name: Restricts the execution on a specific application server.

  • Application server group: Restricts the execution on a specific application server group.

  • Keep alive: If one task is finished with an error, a dump or due to manual job cancellation, the next task with the status New will be processed.

  • Execution window: Restricts the execution to a specific time, for example at night.

 

Stopping the Execution and Managing the Number of Processing Jobs

There are two ways to stop the execution and manage the number of processing jobs:

  • Right-click the task in the activity tree and select Show job group.

  • Click the monitor icon in the Subtask column, click Goto in the menu bar and select Job Groups.

A screen with the following parameters and functions appears:

  1. Parameters:

    1. Basic information: Contains the activity tree run ID and run ID description.

    2. Statistics: Provides job execution statistics with the numbers of all, running, finished, aborted, released, killed and stopped jobs.

    3. List of jobs ALV: Shows all jobs that were executed for all executed tasks in the activity tree. It has the standard ALV functions and enhanced filtering for task statuses. The following columns are available:

      • Root task: Name of the task ID in the activity tree

      • Job name: Name of the background job (available in transaction SM37)

      • Job number: Job number of the background job (available in transaction SM37)

      • Process ID: Name of the process ID of the group tasks

      • Task ID: Name of the currently processed task ID

      • Description: Description of the currently processed task ID

      • Job stop flag: Flag indicating that the Stop job (F6) function was called on the job

      • Job kill flag: Flag indicating that the Kill job (F5) function was called on the job

      • Filter: Flag indicating that the job was started for a subset of the available tasks

      • Job status: Icon indicating the status of the job

      • Job stop state: Reason why the job stopped, i.e. Task failure, Finished (no more tasks), Killed or Stopped

      • Release date: Date of the job release

      • Release time: Time of the job release

      • User: User who released the job

  2. Functions:

    1. Refresh (F8): Updates the statuses and statistics.

    2. Add jobs (F2): Shows a screen to confirm how many jobs will be added after confirmation.

    3. Kill jobs (F5): Sets the killed flag in the jobs selected in the ALV (see the parameters above) and stops the currently executed job. Note the job might not be stopped immediately if the program is busy with the database processing.

    4. Stop jobs (F6): Sets the stop flag in the jobs selected in the ALV (see the parameters above) and stops the processing after the currently executed job.